package com.qf.game;

public class BigFireBall extends Magic{
    public BigFireBall() {
    }

    public BigFireBall(String name, int grade, int magicDamage) {
        super(name, grade, magicDamage);
    }
    @Override
    public int dealmagicDamage(Master hero) {
        int magicDamage = getMagicDamage();
        int grade = getGrade();
        int i = (magicDamage+ hero.getWisdom()) * grade;
        return i;
    }
}
